package com.mspbots.web.core.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Transient;

import java.time.LocalDateTime;

/**
 * com.mspbots.web.core.model.TeamsUser
 *
 * @author Alex bob(https://github.com/vnobo)
 * @date Created by 2019/8/26
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class TeamsUser {

    private Long id;
    private Integer tenantId;
    private String teamsUserId;
    private String teamsManager;
    private String teamsDisplayName;
    private String teamsMail;
    private Boolean isAdmin;
    private LocalDateTime createDate;

    private String giveName;
    private String surname;
    private String jobTitle;
    private String mobilePhone;
    private String officeLocation;
    private String preferredLanguage;
    private String teamsOriginalMail;
    private String situation;
    private Integer userId;
    @Transient
    private String teamsUserPrincipalName;
}
